package com.ruoyi.project.qyxy.jlscoredtl.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.project.qyxy.jlscoredtl.mapper.JlOrgScoreDetailMapper;
import com.ruoyi.project.qyxy.jlscoredtl.domain.JlOrgScoreDetail;
import com.ruoyi.project.qyxy.jlscoredtl.service.IJlOrgScoreDetailService;

/**
 * 监理得分详细Service业务层处理
 * 
 * @author lcl
 * @date 2021-03-14
 */
@Service
public class JlOrgScoreDetailServiceImpl implements IJlOrgScoreDetailService 
{
    @Autowired
    private JlOrgScoreDetailMapper jlOrgScoreDetailMapper;

    /**
     * 查询监理得分详细
     * 
     * @param jlId 监理得分详细ID
     * @return 监理得分详细
     */
    @Override
    public JlOrgScoreDetail selectJlOrgScoreDetailById(Long jlId)
    {
        return jlOrgScoreDetailMapper.selectJlOrgScoreDetailById(jlId);
    }

    /**
     * 查询监理得分详细列表
     * 
     * @param jlOrgScoreDetail 监理得分详细
     * @return 监理得分详细
     */
    @Override
    public List<JlOrgScoreDetail> selectJlOrgScoreDetailList(JlOrgScoreDetail jlOrgScoreDetail)
    {
        return jlOrgScoreDetailMapper.selectJlOrgScoreDetailList(jlOrgScoreDetail);
    }

    /**
     * 新增监理得分详细
     * 
     * @param jlOrgScoreDetail 监理得分详细
     * @return 结果
     */
    @Override
    public int insertJlOrgScoreDetail(JlOrgScoreDetail jlOrgScoreDetail)
    {
        return jlOrgScoreDetailMapper.insertJlOrgScoreDetail(jlOrgScoreDetail);
    }

    /**
     * 修改监理得分详细
     * 
     * @param jlOrgScoreDetail 监理得分详细
     * @return 结果
     */
    @Override
    public int updateJlOrgScoreDetail(JlOrgScoreDetail jlOrgScoreDetail)
    {
        return jlOrgScoreDetailMapper.updateJlOrgScoreDetail(jlOrgScoreDetail);
    }

    /**
     * 批量删除监理得分详细
     * 
     * @param jlIds 需要删除的监理得分详细ID
     * @return 结果
     */
    @Override
    public int deleteJlOrgScoreDetailByIds(Long[] jlIds)
    {
        return jlOrgScoreDetailMapper.deleteJlOrgScoreDetailByIds(jlIds);
    }

    /**
     * 删除监理得分详细信息
     * 
     * @param jlId 监理得分详细ID
     * @return 结果
     */
    @Override
    public int deleteJlOrgScoreDetailById(Long jlId)
    {
        return jlOrgScoreDetailMapper.deleteJlOrgScoreDetailById(jlId);
    }
}
